/**
 * 
 */
package com.zhanggz.mypattern.adapter;

/**
 * 通过继承的方式实现
 * 
 * @author alex
 * @Date Jun 22, 2015
 */
public class TwoPlugAdapterExtends extends GBTwoPlug implements ThreePlugIf {

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.zhanggz.mypattern.adapter.ThreePlugIf#powerWithThree()
	 */
	public void powerWithThree() {
		System.out.println("借助继承适配器");
		this.powerWithTwo();
	}

}
